package com.example.demo.model;


import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * 类与数据表的映射 ->属性名一定要和数据表的属性名一致
 */

@Data
@ToString
public class UserInfo {
    private int id;
    private String username;
    private String password;
    private String photo;
    private Date createtime;
    private Date updatetime;
    private int state;
}
